package com.pig4cloud.pig.demo.feign.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Carousel {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String img;
    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

}
